<?php

require "secret.php";

if (isset($_GET['key'])) {
    if (activateKey($_GET['key'])) {
        header("Location: ".getLocation());
    }
    else {
        header("HTTP/1.1 404 Not Found");
        exit("<h1>404 Not Found</h1>\nThe page that you have requested could not be found.");
    }
}

?>

<html>

<head>
<title>Loading...</title>

<script type="text/javascript" src="/swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF("/url.swf", "url", "300", "120", "9.0.0");
</script>

</head>

<body>

<div id="url">
</div>



</body>
</html>
